import request from '@/router/axios';
//查询朋友圈
export function queryWechatMoments(query) {
    return request({
        url: '/cp/omsMoment/query',
        method: 'get',
        params: query
    });
}
//查看详情
export function checkEmloyeeWechatMoments(query) {
    return request({
        url: '/cp/omsMoment/task',
        method: 'get',
        params: query
    });
}
//查看点赞评论数
export function checkWechatMomentsLikes(query) {
    return request({
        url: '/cp/omsMoment/interaction',
        method: 'get',
        params: query
    });
}

//朋友圈统计基础信息
export function getWechatBasicInfo(deptId) {
    return request({
        url: `/cp/omsMoment/getStaticsData/${deptId}`,
        method: 'get'
    });
}

//朋友圈统计分页查询
export function getWechatList(obj) {
    return request({
        url: `/cp/omsMoment/getStatisticsDataPage/${obj.deptId}`,
        method: 'get',
        params: obj
    });
}

//朋友圈统计趋势图
export function WechatTendency(obj) {
    return request({
        url: `/cp/omsMoment/tendency`,
        method: 'get',
        params: obj
    });
}

// task
export function WechatTask(obj) {
    return request({
        url: `/cp/omsMoment/task`,
        method: 'get',
        params: obj
    });
}
